import 'package:fish_redux/fish_redux.dart';
import '../../../app_files.dart';

class PatrolPlanListViewState implements Cloneable<PatrolPlanListViewState> {
  int currentIndex = GlobalStore.store.getState().userInfo.currentPatrolPlan;
  List<PatrolPlanModel> plans;
  EasyRefreshController refreshController = EasyRefreshController();

  @override
  PatrolPlanListViewState clone() {
    return PatrolPlanListViewState()
      ..currentIndex = currentIndex
      ..plans = plans
      ..refreshController = refreshController;
  }
}

PatrolPlanListViewState initState(Map<String, dynamic> args) {
  return PatrolPlanListViewState();
}
